package com.example.dao2;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class DBhelper extends SQLiteOpenHelper {
	public static final String TABLE_BLACK_INFO = "black_info";
	public static final String TABLE_INFO = "black_info";

	public DBhelper(Context context) {
		super(context, "pohone_filter.db", null, 1);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("create table black_info(_id integer PRIMARY KEY AUTOINCREMENT,number varchar,name varchar,data varchar,time varchar,type integer)");

	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

	}

}
